<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>修改赛事</title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/bootstrap.min.css">
<link href="__PUBLIC__/css/font-awesome.css" rel="stylesheet">
<script src="__PUBLIC__/js/jquery.min.js"></script>
<script src="__PUBLIC__/js/jquery.hotkeys.js"></script>
<script src="__PUBLIC__/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/js/prettify.js"></script>
<script src="__PUBLIC__/js/bootstrap-wysiwyg.js"></script>
<link href="__PUBLIC__/css/bootstrap-datetimepicker.min.css" rel="stylesheet" media="screen">
<style type="text/css">
.autoflow-x {
	overflow-x: auto;
}
.autowidth {
	max-width: 500px;
}
#container {
	margin-top: 50px;
}
.clearfix:after{
	content: '';
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}
</style>
</head>
<body>
<!-- 增加赛事 -->
<div class="addMatch">
	<form class="center-block autowidth" action="" method="post">
	<volist name="gameInfo" id="vo">
		<div class="form-group">
			<label>赛事名称</label>
			<div class="input-group center-block clearfix">
				<div class="changemodul">
					<input class="form-control" type="text" placeholder="请输入赛事名称"  name="gname" value="{$vo.all_name}">
				</div>
			</div>
		</div>
		<div class="form-group">
			<label>竞赛日期</label>
			<div class="input-group center-block clearfix">
				<div class="changemodul">
					<div class="input-append date" id="datetimepicker">
    					<input readonly class="span2 form-control form_datetime" size="16" type="text" name="stime" value="{$vo.all_start}">
					</div>
				</div>
			</div>
		</div>
		<div class="form-group">
			<label>报名截止日期</label>
			<div class="input-group center-block clearfix">
				<div class="changemodul">
					<div class="input-append date" id="datetimepicker">
    					<input readonly class="span2 form-control form_datetime" size="16" type="text" name="etime" value="{$vo.all_e_time}">
					</div>
				</div>
			</div>
		</div>
		<!-- 加载编辑器的容器 -->
	    <script id="container" name="content" type="text/plain">
	       {$vo.all_info}
	    </script>
	    <!-- 配置文件 -->
	    <script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.config.js"></script>
	    <!-- 编辑器源码文件 -->
	    <script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.all.js"></script>
	    <!-- 实例化编辑器 -->
	    <script type="text/javascript">
	    var ue = UE.getEditor('container', {
		    toolbars: [
		        ['fullscreen', 'source', 'undo', 'redo', 'bold','fontborder','time','date','fontfamily', 'fontsize','map','justifyleft','justifyright','justifycenter', 'justifyjustify', 'forecolor', ]
		    ],
		    autoHeightEnabled: true,
		    autoFloatEnabled: true
		});
	    </script>
		<div style="width: 100px;overflow: hidden;margin-top: 50px;" class="center-block">
			<input type="submit" class="btn btn-info center-block" value="提交">
		</div>
		</volist>
	</form>
</div>
<script type="text/javascript" src="__PUBLIC__/js/bootstrap-datetimepicker.js" charset="UTF-8"></script>
	<script type="text/javascript" src="__PUBLIC__/js/bootstrap-datetimepicker.fr.js" charset="UTF-8"></script>
<script type="text/javascript">
		$('.span2').datetimepicker({
            format:'yyyy-mm-dd hh:ii:ss',
            weekStart: 1,
            todayBtn:  1,
            autoclose: 1,
            todayHighlight: 1,
            startView: 2,
            forceParse: 0,
            showMeridian: 1
        });
</script>
</body>
</html>